package cn.edu.lingnan.service;

import cn.edu.lingnan.dao.AdminDao;
import cn.edu.lingnan.dao.IAdminDao;

public class IAdminService implements AdminService{

    AdminDao adminDao = new IAdminDao();
    @Override
    public boolean adminLogin(String username, String password) {
        boolean flag=adminDao.adminLogin(username,password);
        if(flag){
            return true;
        }else {
            return false;
        }
    }
}
